package com.softa.common.sysconfig.shiro.token;

import org.apache.shiro.authc.AuthenticationToken;

/**
 * description goes here.
 *
 * @author 杨磊
 * @date 2019/5/13 22:34
 * @since 1.0
 **/
public class KissoToken implements AuthenticationToken {

    private String userName;

    public KissoToken(String userName){
        this.userName = userName;
    }

    @Override
    public Object getPrincipal() {
        return userName;
    }

    @Override
    public Object getCredentials() {
        return userName;
    }
}
